package com.ita.entity;

public class Customer implements Comparable<Customer> {

	private String id;
	private String name;
	private String email;
	private String sex;
	private String birthday;

	public Customer(String id, String name, String email, String sex, String birthday) {
		super();
		this.id = id;
		this.name = name;
		this.email = email;
		this.sex = sex;
		this.birthday = birthday;
	}
	public Customer() {
		super();
	}
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public int compareTo(Customer o) {
		return this.id.compareTo(o.id);
	}

}
